package com.shanzmoo.admin.domain.dto;

import cn.hutool.core.bean.BeanUtil;
import com.shanzmoo.db.store.entity.StoreStockCheckBillDetailEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 库存期初导入单明细 更新对象
 *
 * @author fs 2021-03-09
 */
@Data
@ApiModel("库存期初导入单明细-更新对象")
public class StoreStockCheckBillDetailUpdateDTO extends StoreStockCheckBillDetailSaveDTO{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    private Integer id;


    public StoreStockCheckBillDetailEntity convertEntity() {
        StoreStockCheckBillDetailEntity target = new StoreStockCheckBillDetailEntity();
        BeanUtil.copyProperties(this, target, true);
        return target;
    }
}
